﻿using B.S.Material.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations.Schema;

namespace B.S.Material.Wirth.Api.Applications.Command.FeedingCommand
{
    public class UpdateFeedingCommand : IRequest<ApiResult<int>>
    {


        /// <summary>
        /// 主键
        /// </summary>
        public int FeedingId { get; set; }
        /// <summary>
        /// 单据主题
        /// </summary>
        public string DocumentSubject { get; set; }

        /// <summary>
        /// 单据编号
        /// </summary>
        public string DocumentNumber { get; set; }

        /// <summary>
        /// 来源单据类型
        /// </summary>
        public string SourceDocumentType { get; set; }

        /// <summary>
        /// 来源单据
        /// </summary>
        public string SourceDocument { get; set; }

        /// <summary>
        /// 制单人员
        /// </summary>
        public string MakingPersonnel { get; set; }
        /// <summary>
        /// 补料日期
        /// </summary>
        public DateTime SupplementDate { get; set; }
        /// <summary>
        /// 补料数量合计
        /// </summary>
        [Column(TypeName = "decimal(18, 2)")]
        public decimal SupplementQuantityTotal { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary
        public DateTime MakingDate { get; set; }
        /// <summary>
        /// 关联项目
        /// </summary>
        public string RelatedProj { get; set; }


        /// <summary>
        ///外键
        /// </summary>
        public int RelatedProjectID { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
    }
}
